//
//  ZGSSearchCountryCollectionViewCell.m
//  Tour
//
//  Created by dllo on 15/11/2.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "ZGSSearchCountryCollectionViewCell.h"
#define WIDTH self.contentView.frame.size.width
#define HEIGHT self.contentView.frame.size.height

@implementation ZGSSearchCountryCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.imageCity = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, WIDTH, HEIGHT / 2)];
        [self.contentView addSubview:self.imageCity];
        
//        self.labelCity = [[UILabel alloc] initWithFrame:CGRectMake(self.contentView.center.x - 30, self.imageCity.center.y - 10, 60, 50)];
//        self.labelCity.textColor = [UIColor whiteColor];
//        [self.contentView addSubview:self.labelCity];
        self.labelTitle = [[UILabel alloc] initWithFrame:CGRectMake(0, self.imageCity.frame.size.height + 5, WIDTH, HEIGHT / 2 - 5)];
        self.labelTitle.numberOfLines = 2;
        self.labelTitle.textColor = [UIColor grayColor];
//        [self.labelTitle sizeToFit];
        [self.contentView addSubview:self.labelTitle];
//        self.labelpriceoff = [[UILabel alloc] initWithFrame:CGRectMake(0, <#CGFloat y#>, <#CGFloat width#>, <#CGFloat height#>)
        
    }
    return self;
}

@end
